package com.conding365.gateway.server.rpc;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(name = "lagou-service-user")
public interface UserFeignClient {

    @GetMapping("/oauth/check_token")
    Map<String, ?> checkToken(@RequestParam(value = "token") String token);
}
